package cc.minos.components.skins
{
	
	/**
	 * ...
	 * @author Minos
	 */
	public class CircleIcon extends IconDecorator
	{
		private var _radius:Number;
		
		public function CircleIcon( skin:Skin , radius:Number = 12 , color:uint = 0x000000 )
		{
			_radius = radius;
			_fillColor = color;
			super( skin );
			_type = "circleIcon";
		}
		
		override public function draw():void
		{
			super.draw();
			
			icon.graphics.beginFill( fillColor , 1 );
			icon.graphics.drawCircle( startX , startY , _radius );
			icon.graphics.endFill();
			
			
		}
	
	}

}